Carbon


DrawThemeMenuSeparator

Header: Appearance.h Carbon status: Supported

Draws a menu item separator line.

OSStatus DrawThemeMenuSeparator (
    const Rect *inItemRect
);
inItemRect

A pointer to a structure of type Rect. Before calling DrawThemeMenuSeparator, set the rectangle to contain the menu item separator to be drawn, in global coordinates. The rectangle should be the same height as the height returned by the function GetThemeMenuSeparatorHeight.

function result

A result code.

DISCUSSION

The DrawThemeMenuSeparator function draws a theme-compliant menu item separator line.

VERSION NOTES

This function is available with Appearance Manager 1.0.1 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)